﻿
@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>ABC.Admin登陆</title>
    <link rel="stylesheet" href="~/lib/Pear-Admin-Layui/component/pear/css/pear.css" asp-append-version="true" />
    <link rel="stylesheet" href="~/lib/Pear-Admin-Layui/admin/css/other/login.css" asp-append-version="true" />
    <style>
        .layui-main {
            width: 100%;
            margin: 0;
        }

        .footer {
            /* padding: 30px 0;*/
            line-height: 35px;
            text-align: center;
            color: #666;
            font-weight: 300;
            height: 40px;
            background: #eee;
            width: 100%;
            position: absolute;
            bottom: 0;
        }

            .footer a {
                color: brown;
                margin: 0px 10px;
            }
    </style>
</head>
<!-- 代 码 结 构 -->
<body background="../../../lib/Pear-Admin-Layui/admin/images/background.svg" style="background-size: cover;">
    @if (!string.IsNullOrWhiteSpace(@ViewBag.returnUrl))
    {
        <input type="hidden" id="returnurl" value="@ViewBag.returnUrl" />
    }
    else
    {
        <input type="hidden" id="returnurl" value="@(Url.Action("Index","Home", new { area = "HtAdmin" }))" />
    }

    <input type="hidden" id="verurl" value="@(Url.Action("GetVerifyCode"))" />
    <input type="hidden" id="loginurl" value="@Url.Action("Login")" />
    <form class="layui-form" action="">
        <div class="layui-form-item">
            @*<div style="font-size: 30px !important;font-weight: 550 !important;margin-left: 20px !important;"><img class="logo1" src="~/img/logo.png" /></div>*@
            <div class="title">Abc.MVC 管理登陆</div>
            <div class="desc">
            </div>
        </div>
        <div class="layui-form-item">
            <input name="Account" id="Account" lay-verify="required|account" lay-reqText="账户不能为空！" placeholder="账 户" autocomplete="off" value="" hover class="layui-input inputlogin" />
        </div>
        <div class="layui-form-item">
            <input type="password" name="Password" id="Password" lay-verify="required|password" lay-reqText="密码不能为空！" placeholder="密 码" autocomplete="off" value="" hover class="layui-input inputlogin" />
        </div>
        <div class="layui-form-item">
            <input name="VerifyCode" id="VerifyCode" maxlength="4" lay-verify="required|verifyCode" lay-reqText="验证码不能为空！" placeholder="验证码 : " value="" hover class="code layui-input layui-input-inline inputlogin" />
            <img src="@(Url.Action("GetVerifyCode"))" alt="验证码"  class="codeImage imgVerifyCode" style="cursor:pointer;" />
        </div>
        <div class="layui-form-item">
            <input type="checkbox" name="remember" title="记住密码" lay-skin="primary" checked>
        </div>
        @*<div class="layui-form-item">
            默认账号：administrator  密码：admin123654
            </div>*@
        <div class="layui-form-item">
            <div id="btnlogin" class="layui-btn layui-btn-success  submitbtn" style="width:320px;" lay-submit lay-filter="submit">登 入</div>
        </div>
    </form>
    <input type="hidden" id="sldl" value="@ViewBag.LoginPublicKey" />
    @Html.AntiForgeryToken()
    <!-- 资 源 引 入 -->
    <script src="~/lib/Pear-Admin-Layui/component/layui/layui.js" asp-append-version="true"></script>
    <script src="~/lib/Pear-Admin-Layui/component/pear/pear.js" asp-append-version="true"></script>
    <script src="~/js/jsencrypt.min.js"></script>
    <script src="~/lib/abc/abc.js" asp-append-version="true"></script>
    <script src="~/lib/abc/login.js" asp-append-version="true"></script>
    <script language="JavaScript">
        if (window != top)
            top.location.href = location.href;
    </script>
</body>
</html>
